package com.eshop.event;

import org.springframework.context.ApplicationEvent;

public class TemplateEvent extends ApplicationEvent
{
    private TemplateBean templateBean;
    
    public TemplateEvent(final Object source, final TemplateBean templateBean) {
        super(source);
        this.templateBean = templateBean;
    }
    
    public TemplateBean getTemplateBean() {
        return this.templateBean;
    }
}
